﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: BankrollLogEntity.cs
// 修改时间：2020-9-8 10:39:55
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：BankrollLog 的实体类.
	/// </summary>
	[Table("BankrollLog")]
	public partial class BankrollLogEntity
	{
		#region Properties
		private int? _itemID = 0;
		/// <summary>
		/// 明细ID(主键)(自增长)
		/// </summary>
		[Column("ItemID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ItemID
		{
			get {return _itemID;}
			set {_itemID = value;}
		}
		
		private System.String _userName = string.Empty;
		/// <summary>
		/// 会员名
		/// </summary>
		[Column("UserName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}
		
		private int? _clientID = 0;
		/// <summary>
		/// 客户ID
		/// </summary>
		[Column("ClientID",TypeName="int")]
		public int? ClientID
		{
			get {return _clientID;}
			set {_clientID = value;}
		}
		
		private DateTime? _dateAndTime = null;
		/// <summary>
		/// 发生时间
		/// </summary>
		[Column("DateAndTime",TypeName="datetime")]
		public DateTime? DateAndTime
		{
			get {return _dateAndTime;}
			set {_dateAndTime = value;}
		}
		
		private decimal? _money = 0;
		/// <summary>
		/// 金额
		/// </summary>
		[Column("Money",TypeName="money")]
		public decimal? Money
		{
			get {return _money;}
			set {_money = value;}
		}
		
		private int? _moneyType = 0;
		/// <summary>
		/// 类型(1:现金 2:汇款 3:在线支付  4:虚拟货币)
		/// </summary>
		[Column("MoneyType",TypeName="int")]
		public int? MoneyType
		{
			get {return _moneyType;}
			set {_moneyType = value;}
		}
		
		private int? _currencyType = 0;
		/// <summary>
		/// 币种(1:人民币 2:美元 3:其他)
		/// </summary>
		[Column("CurrencyType",TypeName="int")]
		public int? CurrencyType
		{
			get {return _currencyType;}
			set {_currencyType = value;}
		}
		
		private int? _eBankID = 0;
		/// <summary>
		/// 网上支付平台ID
		/// </summary>
		[Column("eBankID",TypeName="int")]
		public int? EBankID
		{
			get {return _eBankID;}
			set {_eBankID = value;}
		}
		
		private System.String _bank = string.Empty;
		/// <summary>
		/// 银行名称
		/// </summary>
		[Column("Bank",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Bank
		{
			get {return _bank;}
			set {_bank = value;}
		}
		
		private int? _orderID = 0;
		/// <summary>
		/// 支出时的订单ID
		/// </summary>
		[Column("OrderID",TypeName="int")]
		public int? OrderID
		{
			get {return _orderID;}
			set {_orderID = value;}
		}
		
		private int? _paymentID = 0;
		/// <summary>
		/// 在线支付的支付单ID
		/// </summary>
		[Column("PaymentID",TypeName="int")]
		public int? PaymentID
		{
			get {return _paymentID;}
			set {_paymentID = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		private DateTime? _logTime = null;
		/// <summary>
		/// 记录时间
		/// </summary>
		[Column("LogTime",TypeName="datetime")]
		public DateTime? LogTime
		{
			get {return _logTime;}
			set {_logTime = value;}
		}
		
		private System.String _inputer = string.Empty;
		/// <summary>
		/// 录入者
		/// </summary>
		[Column("Inputer",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Inputer
		{
			get {return _inputer;}
			set {_inputer = value;}
		}
		
		private System.String _ip = string.Empty;
		/// <summary>
		/// IP
		/// </summary>
		[Column("IP",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String IP
		{
			get {return _ip;}
			set {_ip = value;}
		}
		
		private int? _status = 0;
		/// <summary>
		/// 资金状态
		/// </summary>
		[Column("Status",TypeName="int")]
		public int? Status
		{
			get {return _status;}
			set {_status = value;}
		}
		
		private System.String _memo = string.Empty;
		/// <summary>
		/// 内部记录
		/// </summary>
		[Column("Memo",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Memo
		{
			get {return _memo;}
			set {_memo = value;}
		}
		
		#endregion
	}
}
